import service from '../request'

// 获取设置
export function getSetting() {
  return service({
    url: '/Save/getWebConfig',
    method: 'get',
  })
}

// 修改设置
export function putSetting(params) {
  return service({
    url: '/Save/saveWebConfig',
    method: 'put',
    data: params,
  })
}
